package com.miroservice.chapter2.pojo;

import javax.validation.constraints.NotBlank;

public class User {


    @NotBlank
    private Long id;

    private String userName;

    private Long age;

    public String getUserName() {
        return userName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }
}
